package com.awesome.javademo.threads.lock.waitnotift;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;

import com.awesome.javademo.R;
import com.awesome.javademo.threads.lock.waitnotift.bean.WaitNotify;

public class WaitNotifyActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_lock_wait_notify);
        useWaitNotify();
    }

    public void useWaitNotify(){
        new WaitNotify().startThread();
    }
}

